Optimal. Leaf size=42 \[ -\frac{5-6 x}{49 \left (-3 x^2+5 x+2\right )}-\frac{6}{343} \log (2-x)+\frac{6}{343} \log (3 x+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0090168, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {614, 616, 31} \[ -\frac{5-6 x}{49 \left (-3 x^2+5 x+2\right )}-\frac{6}{343} \log (2-x)+\frac{6}{343} \log (3 x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 614
Rule 616
Rule 31
Rubi steps
\begin{align*} \int \frac{1}{\left (2+5 x-3 x^2\right )^2} \, dx &=-\frac{5-6 x}{49 \left (2+5 x-3 x^2\right )}+\frac{6}{49} \int \frac{1}{2+5 x-3 x^2} \, dx\\ &=-\frac{5-6 x}{49 \left (2+5 x-3 x^2\right )}-\frac{18}{343} \int \frac{1}{-1-3 x} \, dx+\frac{18}{343} \int \frac{1}{6-3 x} \, dx\\ &=-\frac{5-6 x}{49 \left (2+5 x-3 x^2\right )}-\frac{6}{343} \log (2-x)+\frac{6}{343} \log (1+3 x)\\ \end{align*}
Mathematica [A] time = 0.0127719, size = 42, normalized size = 1. \[ \frac{5-6 x}{49 \left (3 x^2-5 x-2\right )}-\frac{6}{343} \log (2-x)+\frac{6}{343} \log (3 x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.056, size = 32, normalized size = 0.8 \begin{align*} -{\frac{3}{49+147\,x}}+{\frac{6\,\ln \left ( 1+3\,x \right ) }{343}}-{\frac{1}{-98+49\,x}}-{\frac{6\,\ln \left ( -2+x \right ) }{343}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.18605, size = 46, normalized size = 1.1 \begin{align*} -\frac{6 \, x - 5}{49 \,{\left (3 \, x^{2} - 5 \, x - 2\right )}} + \frac{6}{343} \, \log \left (3 \, x + 1\right ) - \frac{6}{343} \, \log \left (x - 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.05154, size = 142, normalized size = 3.38 \begin{align*} \frac{6 \,{\left (3 \, x^{2} - 5 \, x - 2\right )} \log \left (3 \, x + 1\right ) - 6 \,{\left (3 \, x^{2} - 5 \, x - 2\right )} \log \left (x - 2\right ) - 42 \, x + 35}{343 \,{\left (3 \, x^{2} - 5 \, x - 2\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.191956, size = 32, normalized size = 0.76 \begin{align*} - \frac{6 x - 5}{147 x^{2} - 245 x - 98} - \frac{6 \log{\left (x - 2 \right )}}{343} + \frac{6 \log{\left (x + \frac{1}{3} \right )}}{343} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23187, size = 49, normalized size = 1.17 \begin{align*} -\frac{6 \, x - 5}{49 \,{\left (3 \, x^{2} - 5 \, x - 2\right )}} + \frac{6}{343} \, \log \left ({\left | 3 \, x + 1 \right |}\right ) - \frac{6}{343} \, \log \left ({\left | x - 2 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]